import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

import Router from "./router"
// 把静态路由传递到pinia里与动态路由合并
const routes: Array<RouteRecordRaw> =Router
const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
